package com.itheima.pinda.entity.transportline;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itheima.pinda.entity.base.Entity;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
    * 车次信息表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pd_transport_trips")
public class PdTransportTrips extends Entity implements Serializable {
    /**
     * 车次名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 发车时间
     */
    @TableField(value = "departure_time")
    private String departureTime;

    /**
     * 所属线路id
     */
    @TableField(value = "transport_line_id")
    private String transportLineId;

    /**
     * 周期，1为天，2为周，3为月
     */
    @TableField(value = "period")
    private Byte period;

    /**
     * 状态  0：禁用   1：正常
     */
    @TableField(value = "`status`")
    private Byte status;
}